/**
 * 
 */
package com.teach.service.impl;

import java.util.List;

import com.teach.dao.UserDAO;
import com.teach.entity.User;
import com.teach.service.UserSelectLikeService;

/**
 * @author Liulianqiu
 *2020年8月2日
 */
public class UserSelectLikeServiceImpl implements UserSelectLikeService {

	@Override
	public List<User> selectLike(String keyWord) {
		UserDAO userDAO = new UserDAO();
		try {
			return userDAO.selectLike(keyWord);
		} catch (Exception e) {
			e.printStackTrace();
			throw new  RuntimeException("模糊查询异常");
		}
	}

}
